8 #ifndef TIMEINTERPOLATOR_H_
9 #define TIMEINTERPOLATOR_H_
11 #include <boost/unordered_map.hpp>
36 bool manageMemory(
const Time& time,
const std::vector<std::string>& variable);
40 float interpolate(
const Time& time,
const std::string& variable,
const float& c0,
const float& c1,
const float& c2);
41 float interpolate(
const Time& time,
int variable,
const float& c0,
const float& c1,
const float& c2);
47 std::vector<Time> timesteps;
48 boost::unordered_map<Time, const std::string> timesteps_map;
49 boost::unordered_map<Time, Kameleon *> current_kameleon_files;
50 boost::unordered_map<Time, Interpolator *> current_kameleon_interpolators;
53 void manageVariables(
const std::vector<std::string>& variables,
Kameleon* a);
54 void manageVariables(
const char * variables[],
int numVars,
Kameleon* a);